package com.ltu.service.customize;

import com.ltu.domain.mp_entity.customize.DeviceEntity;
import com.ltu.service.BaseTService;

/**
 * <p>
 * 设备 服务类
 * </p>
 *
 * @author 若尘
 * @since 2024-09-26
 */

public interface DeviceService extends BaseTService<DeviceEntity> {

	
	DeviceEntity getByDeviceNo(String deviceMac);

	/**
	 * 更新设备上下线
	 * @author 李生
	 * @date 2024-10-17 10:10:41 
	 * @param deviceMac
	 * @param onlineFlag 0下线1上线
	 * @return 
	 */
	DeviceEntity editOnline(String deviceMac, int onlineFlag);
}
